﻿@{
    ViewBag.Title = "SchoolReviewForm";
    Layout = "~/Views/Shared/_Form.cshtml";
}
<script>
    $(function () {
        initControl();
        var keyValue = $.request("keyValue");
        $.ajax({
            url: "/Gas/Apply/GetFormJsonForUpdate",
            data: { keyValue: keyValue },
            dataType: "json",
            async: false,
            success: function (data) {
                console.log(data);
                initPicDiv(data);
                //formSerialize 是 framework-ui.js 中的全局函数 作用是绑定数据
                $("#form1").formSerialize(data);
                $("#form1").find('.form-control,select,input').attr('disabled', 'disabled');
                $("#OStatus").removeAttr('disabled');
                $("#FirstCheckReason").removeAttr('disabled');
                //重新填充志愿学校
                $("#SchoolId option[value='" + data.SchoolId + "']").attr('selected', 'selected');
                $("#SecondSchoolId option[value='" + data.SecondSchoolId + "']").attr('selected', 'selected');
                $("#select2-SchoolId-container").text($("#SchoolId option[value='" + data.SchoolId + "']").text());
                $("#select2-SecondSchoolId-container").text($("#SecondSchoolId option[value='" + data.SecondSchoolId + "']").text());
                $("#btn_A1_CheckHouseInfo").css('display', 'none');
                $("#btn_A2_CheckHouseInfo").css('display', 'none');
                $("#textarea_A1_CheckHouseInfo").css('display', 'none');
                $("#textarea_A2_CheckHouseInfo").css('display', 'none');
            }
        });
    })
    //保存和提交资料
    function btn_update() {
        var keyValue = $.request("keyValue");
        if (!$('#form1').formValid()) {
            return false;
        }
        if ("3" != $('#OStatus').val() && "4" != $('#OStatus').val()) {
            bootbox.alert("请选择审核结果");
            return false;
        }
        if ('3' == $('#OStatus').val()) {
            if ('' == $('#FirstCheckReason').val() || null == $('#FirstCheckReason').val()) {
                bootbox.alert("请填写审核未通过原因");
                return false;
            }
        }
        if (!checkHouseInfo()) {
            return false;
        }
        $.submitForm({
            url: "/Gas/Apply/UpdateFormBySchoolAndEdu?schoolUpd=1&keyValue=" + keyValue,
            param: $("#form1").formSerialize(),
            success: function () {
                window.location.href = "/Gas/Apply/SchoolOperateIndex";
            }
        })
    }
    //返回前一页
    function btn_back() {
        window.location.href = "/Gas/Apply/SchoolOperateIndex";//教育局报名列表
    }
</script>
<style>
    .myWidth {
        width: 500px !important;
    }

    .titileWidth {
        width: 250px !important;
    }

    .houseSpan {
        font-size: initial;
        color: #fff;
        border-radius: 4px;
        background-color: #1ABC9C;
    }

    .myTable {
        width: 790px !important;
    }

    .buttonOuterDiv {
        width: 600px;
        height: 50px;
        padding-top:20px;
    }

    .buttonInnerLeftDiv {
        width: 100px;
        height: 50px;
        display: inline-block;
        float: left;
        padding-left: 50px;
    }

    .buttonInnerLeftNoneDiv {
        width: 100px;
        height: 50px;
        display: none;
        float: left;
        padding-left: 50px;
    }

    .buttonInnerRightDiv {
        width: 100px;
        height: 50px;
        display: inline-block;
        margin-left: 0;
        float: left;
        padding-left: 150px;
    }
</style>
<div class="wrapper">
    <form id="form1" enctype="multipart/form-data">
        <div style="padding-top: 20px; margin-right: 20px;">
            <input id="Phone" name="Phone" type="hidden" value="@ViewBag.Account" />
            <input id="LastUpdateTime" name="LastUpdateTime" type="hidden" />
            <table class="form myTable">
                <tr>
                    <th class="formTitle titileWidth">说明</th>
                    <td class="formValue">
                        <textarea class="form-control myWidth" style="color:#FF0000;height:65px" disabled>以下项目为家长必填项，不能为空，不能由他人代填。
所有信息必须与现场审核提交材料一致，虚假信息记入家长诚信管理体系，不予办理转学手续。</textarea>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">学生姓名</th>
                    <td class="formValue">
                        <input id="StudentName" name="StudentName" type="text" class="form-control myWidth required" placeholder="请输入学生姓名" />
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">学生身份证号</th>
                    <td class="formValue">
                        <input id="IDNumber" name="IDNumber" type="text" class="form-control myWidth required" placeholder="请输入学生身份证号" />
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">学生家庭情况</th>
                    <td class="formValue">
                        <select id="FamilySituation" name="FamilySituation" style="height:20px" class="form-control required"></select>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">家庭情况照片(jpg格式)<br>（选择照片后要点击上传，不超过1M）</th>
                    <td>
                        <div><input type="file" name="Pic_FamilySituation_File" id="Pic_FamilySituation_File"></div>
                        <div><input type="button" id="upFamilySituationPic" style="height:22.8px; font-size:10px;" value="上传" onclick="uploadPic('FamilySituation')" /></div>
                        <div><input type="hidden" name="Pic_FamilySituation" id="Pic_FamilySituation" value="" /></div>
                        <div id="FamilySituationPic"></div>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle"></th>
                    <td class="formValue">
                        <textarea class="form-control myWidth" style="color:#FF0000;height:50px" disabled>家庭状况正常的不需要提交照片；孤儿、烈士子女、学生残疾需提交相关证件照片；父母离异的需交提离婚判决书或民政部门出具的离婚协议书。（照片格式为jpg）</textarea>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">监护人信息</th>
                    <td class="formValue">
                        <textarea class="form-control myWidth" style="color:#FF0000;;height:32px" disabled>以下监护人姓名、联系方式（手机号），不可为空，可填无</textarea>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">父亲姓名</th>
                    <td class="formValue">
                        <input id="FatherName" name="FatherName" type="text" class="form-control myWidth required" placeholder="请输入父亲姓名" />
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">父亲联系方式</th>
                    <td class="formValue">
                        <input id="FatherPhone" name="FatherPhone" type="text" class="form-control myWidth required" placeholder="请输入父亲联系方式" />
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">父亲身份证号</th>
                    <td class="formValue">
                        <input id="FatherIDNumber" name="FatherIDNumber" type="text" class="form-control myWidth required" placeholder="请输入父亲身份证号" />
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">母亲姓名</th>
                    <td class="formValue">
                        <input id="MotherName" name="MotherName" type="text" class="form-control myWidth required" placeholder="请输入母亲姓名" />
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">母亲联系方式</th>
                    <td class="formValue">
                        <input id="MotherPhone" name="MotherPhone" type="text" class="form-control myWidth required" placeholder="请输入母亲联系方式" />
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">母亲身份证号</th>
                    <td class="formValue">
                        <input id="MotherIDNumber" name="MotherIDNumber" type="text" class="form-control myWidth required" placeholder="请输入母亲身份证号" />
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">户口属地</th>
                    <td class="formValue">
                        <select id="HouseHoldPosition" name="HouseHoldPosition" style="height:20px" class="form-control required"></select>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle"></th>
                    <td class="formValue">
                        <textarea class="form-control myWidth" style="color:#FF0000;height:32px" disabled>五选一，文登城区是指龙山、环山、天福三个办事处和开发区。南海新区不属于文登。</textarea>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">户主姓名</th>
                    <td class="formValue">
                        <input id="HouseHolderName" name="HouseHolderName" type="text" class="form-control myWidth" placeholder="请输入户口本户主姓名" />
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">户主与学生关系</th>
                    <td class="formValue">
                        <select id="HouseHolderRelation" name="HouseHolderRelation" style="height:20px" class="form-control"></select>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle"></th>
                    <td class="formValue">
                        <textarea class="form-control myWidth" style="color:#FF0000;height:50px" disabled>提交的照片包括：学生本人所在户口本的户主页、学生本人页、索引页、学生父母的结婚证照片，如果学生与父母任一方都不在一个户口本上的，还需提供学生出生证明。</textarea>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">户口本户主页照片(jpg格式)<br>（选择照片后要点击上传，不超过1M）</th>
                    <td>
                        <div><input type="file" name="Pic_HouseHold_File" id="Pic_HouseHold_File" /></div>
                        <div><input type="button" id="upHouseHoldPic" style="height:22.8px; font-size:10px;" value="上传" onclick="uploadPic('HouseHold')" /></div>
                        <div><input type="hidden" name="Pic_HouseHold" id="Pic_HouseHold" value="" /></div>
                        <div id="HouseHoldPic"></div>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">户口本学生本人页照片(jpg格式)<br>（选择照片后要点击上传，不超过1M）</th>
                    <td>
                        <div><input type="file" name="Pic_HouseHoldStudent_File" id="Pic_HouseHoldStudent_File" /></div>
                        <div><input type="button" id="upHouseHoldStudentPic" style="height:22.8px; font-size:10px;" value="上传" onclick="uploadPic('HouseHoldStudent')" /></div>
                        <div><input type="hidden" name="Pic_HouseHoldStudent" id="Pic_HouseHoldStudent" value="" /></div>
                        <div id="HouseHoldStudentPic"></div>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">户口本索引页照片(jpg格式)<br>（选择照片后要点击上传，不超过1M）</th>
                    <td>
                        <div><input type="file" name="Pic_HouseHoldIndex_File" id="Pic_HouseHoldIndex_File" /></div>
                        <div><input type="button" id="upHouseHoldIndexPic" style="height:22.8px; font-size:10px;" value="上传" onclick="uploadPic('HouseHoldIndex')" /></div>
                        <div><input type="hidden" name="Pic_HouseHoldIndex" id="Pic_HouseHoldIndex" value="" /></div>
                        <div id="HouseHoldIndexPic"></div>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">学生父母结婚证照片(jpg格式)<br>（选择照片后要点击上传，不超过1M）</th>
                    <td>
                        <div><input type="file" name="Pic_MarriageCertificate_File" id="Pic_MarriageCertificate_File" /></div>
                        <div><input type="button" id="upMarriageCertificatePic" style="height:22.8px; font-size:10px;" value="上传" onclick="uploadPic('MarriageCertificate')" /></div>
                        <div><input type="hidden" name="Pic_MarriageCertificate" id="Pic_MarriageCertificate" value="" /></div>
                        <div id="MarriageCertificatePic"></div>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">学生出生证明照片(jpg格式)<br>（选择照片后要点击上传，不超过1M）</th>
                    <td>
                        <div><input type="file" name="Pic_BirthCertification_File" id="Pic_BirthCertification_File" /></div>
                        <div><input type="button" id="upBirthCertificationPic" style="height:22.8px; font-size:10px;" value="上传" onclick="uploadPic('BirthCertification')" /></div>
                        <div><input type="hidden" name="Pic_BirthCertification" id="Pic_BirthCertification" value="" /></div>
                        <div id="BirthCertificationPic"></div>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">住房类型</th>
                    <td class="formValue">
                        <select id="HouseFlag" name="HouseFlag" style="height:20px" class="form-control required" onchange="sel_div()"></select>
                    </td>
                </tr>
            </table>
        </div>
        <div id="div_A_1" style="display:block">
            <ul class="pop-list">
                <li class="line">
                </li>
            </ul>
            <h5 style="padding-left:150px"><span class="houseSpan">A_1 有房类填写（有房权证）</span></h5>
            <table class="form myTable">
                <tr>
                    <th class="formTitle titileWidth">A_1_房证产权人姓名</th>
                    <td class="formValue">
                        <input id="A_CertificateName" name="A_CertificateName" type="text" class="form-control myWidth" placeholder="请输入房证产权人姓名" />
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">A_1_房证产权人身份证号</th>
                    <td class="formValue">
                        <input id="A_CertificateIDNumber" name="A_CertificateIDNumber" type="text" class="form-control myWidth" placeholder="请输入房证产权人身份证号" />
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">A_1_房证上登记地址</th>
                    <td class="formValue">
                        <input id="A_CertificateAddress" name="A_CertificateAddress" type="text" class="form-control myWidth" placeholder="请输入房证上登记地址" />
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">A_1_房权证照片(jpg格式)<br>（选择照片后要点击上传，不超过1M）</th>
                    <td>
                        <div><input type="file" name="Pic_A_Certificate_File" id="Pic_A_Certificate_File" /></div>
                        <div><input type="button" id="upA_CertificatePic" style="height:22.8px; font-size:10px;" value="上传" onclick="uploadPic('A_Certificate')" /></div>
                        <div><input type="hidden" name="Pic_A_Certificate" id="Pic_A_Certificate" value="" /></div>
                        <div id="A_CertificatePic"></div>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">A_1_房屋所有权人与学生关系</th>
                    <td class="formValue">
                        <select id="A_CertificateRelation" name="A_CertificateRelation" style="height:20px" class="form-control myWidth"></select>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle"></th>
                    <td class="formValue">
                        <textarea id="textarea_A1_CheckHouseInfo" class="form-control myWidth" style="color:#FF0000;height:65px" disabled>请点击下面的【验证住房信息】按钮，只有填报的住房信息通过才能继续进行学校信息填写，如验证未能过，请重新检查房证信息填写是否准确，如填写无误仍未通过，请拨打8464863电话联系。</textarea>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle"><a id="btn_A1_CheckHouseInfo" class="btn btn-primary" onclick="btn_CheckHouseInfo()"><i class="fa fa-save" style="margin-right:5px;"></i>验证住房信息</a></th>
                    <td><span id="A1_Result"></span></td>
                </tr>
            </table>
        </div>
        <div id="div_A_2" style="display:block">
            <ul class="pop-list">
                <li class="line">
                </li>
            </ul>
            <h5 style="padding-left:150px"><span class="houseSpan">A_2 有房类填写（有购房合同和正规机打发票，房屋实际交付使用，期房无效）</span></h5>
            <table class="form myTable">
                <tr>
                    <th class="formTitle titileWidth">A_2_购房人姓名</th>
                    <td class="formValue">
                        <input id="A_CertificateName2" name="A_CertificateName2" type="text" class="form-control myWidth" placeholder="请输入购房人姓名" />
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">A_2_购房人身份证号</th>
                    <td class="formValue">
                        <input id="A_CertificateIDNumber2" name="A_CertificateIDNumber2" type="text" class="form-control myWidth" placeholder="请输入购房人身份证号" />
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">A_2_购房合同登记地址</th>
                    <td class="formValue">
                        <input id="A_CertificateAddress2" name="A_CertificateAddress2" type="text" class="form-control myWidth" placeholder="请输入购房合同登记地址" />
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">A_2_购房合同照片(jpg格式)<br>（选择照片后要点击上传，不超过1M）</th>
                    <td>
                        <div><input type="file" name="Pic_A_Contract_File" id="Pic_A_Contract_File" /></div>
                        <div><input type="button" id="upA_ContractPic" style="height:22.8px; font-size:10px;" value="上传" onclick="uploadPic('A_Contract')" /></div>
                        <div><input type="hidden" name="Pic_A_Contract" id="Pic_A_Contract" value="" /></div>
                        <div id="A_ContractPic"></div>
                    </td>
                    <td style="padding-left:60px">
                        <div><input type="file" name="Pic_A_Contract1_File" id="Pic_A_Contract1_File" /></div>
                        <div><input type="button" id="upA_Contract1Pic" style="height:22.8px; font-size:10px;" value="上传" onclick="uploadPic('A_Contract1')" /></div>
                        <div><input type="hidden" name="Pic_A_Contract1" id="Pic_A_Contract1" value="" /></div>
                        <div id="A_Contract1Pic"></div>
                    </td>
                    <td style="padding-left:130px">
                        <div><input type="file" name="Pic_A_Contract2_File" id="Pic_A_Contract2_File" /></div>
                        <div><input type="button" id="upA_Contract2Pic" style="height:22.8px; font-size:10px;" value="上传" onclick="uploadPic('A_Contract2')" /></div>
                        <div><input type="hidden" name="Pic_A_Contract2" id="Pic_A_Contract2" value="" /></div>
                        <div id="A_Contract2Pic"></div>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle"></th>
                    <td>
                        <div><input type="file" name="Pic_A_Contract3_File" id="Pic_A_Contract3_File" /></div>
                        <div><input type="button" id="upA_Contract3Pic" style="height:22.8px; font-size:10px;" value="上传" onclick="uploadPic('A_Contract3')" /></div>
                        <div><input type="hidden" name="Pic_A_Contract3" id="Pic_A_Contract3" value="" /></div>
                        <div id="A_Contract3Pic"></div>
                    </td>
                    <td style="padding-left:60px">
                        <div><input type="file" name="Pic_A_Contract4_File" id="Pic_A_Contract4_File" /></div>
                        <div><input type="button" id="upA_Contract4Pic" style="height:22.8px; font-size:10px;" value="上传" onclick="uploadPic('A_Contract4')" /></div>
                        <div><input type="hidden" name="Pic_A_Contract4" id="Pic_A_Contract4" value="" /></div>
                        <div id="A_Contract4Pic"></div>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">A_2_全款发票照片(jpg格式)<br>（选择照片后要点击上传，不超过1M）</th>
                    <td>
                        <div><input type="file" name="Pic_A_Receipt_File" id="Pic_A_Receipt_File" /></div>
                        <div><input type="button" id="upA_ReceiptPic" style="height:22.8px; font-size:10px;" value="上传" onclick="uploadPic('A_Receipt')" /></div>
                        <div><input type="hidden" name="Pic_A_Receipt" id="Pic_A_Receipt" value="" /></div>
                        <div id="A_ReceiptPic"></div>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle"></th>
                    <td class="formValue">
                        <textarea id="textarea_A2_CheckHouseInfo" class="form-control myWidth" style="color:#FF0000;height:65px" disabled>请点击下面的【验证住房信息】按钮，只有填报的住房信息通过才能继续进行学校信息，如验证未能过，请重新检查房证信息填写是否准确，如填写无误仍未通过，请拨打8464863电话联系。</textarea>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle"><a id="btn_A2_CheckHouseInfo" class="btn btn-primary" onclick="btn_CheckHouseInfo()"><i class="fa fa-save" style="margin-right:5px;"></i>验证住房信息</a></th>
                    <td><span id="A2_Result"></span></td>
                </tr>
            </table>
        </div>
        <div id="div_B_1" style="display:block">
            <ul class="pop-list">
                <li class="line">
                </li>
            </ul>
            <h5 style="padding-left:150px"><span class="houseSpan">B_1 租房类填写（本地户口）</span></h5>
            <table class="form myTable">
                <tr>
                    <th class="formTitle titileWidth">B_1_租房地址</th>
                    <td class="formValue">
                        <input id="C_RentAddress" name="C_RentAddress" type="text" class="form-control myWidth" placeholder="请输入租房地址" />
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">B_1_房管局备案的租赁合同照片(jpg格式)<br>（选择照片后要点击上传，不超过1M）</th>
                    <td>
                        <div><input type="file" name="Pic_C_RentContract_File" id="Pic_C_RentContract_File" /></div>
                        <div><input type="button" id="upC_RentContractPic" style="height:22.8px; font-size:10px;" value="上传" onclick="uploadPic('C_RentContract')" /></div>
                        <div><input type="hidden" name="Pic_C_RentContract" id="Pic_C_RentContract" value="" /></div>
                        <div id="C_RentContractPic"></div>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle"></th>
                    <td class="formValue">
                        <textarea class="form-control myWidth" style="color:#FF0000;height:65px" disabled>请上传父母双方务工合同或一方营业执照或养老保险，三者任选其一。如果在B_1_父亲务工合同照片处上传的是父亲务工合同照片的话，也要在B_1_母亲务工合同照片处上传母亲务工合同照片</textarea>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">B_1_父亲务工合同照片(jpg格式)<br>或一方营业执照或养老保险<br>（选择照片后要点击上传，不超过1M）</th>
                    <td>
                        <div><input type="file" name="Pic_C_MaleLaborContract_IN_File" id="Pic_C_MaleLaborContract_IN_File" /></div>
                        <div><input type="button" id="upC_MaleLaborContract_INPic" style="height:22.8px; font-size:10px;" value="上传" onclick="uploadPic('C_MaleLaborContract_IN')" /></div>
                        <div><input type="hidden" name="Pic_C_MaleLaborContract_IN" id="Pic_C_MaleLaborContract_IN" value="" /></div>
                        <div id="C_MaleLaborContract_INPic"></div>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">B_1_母亲务工合同照片(jpg格式)<br>（选择照片后要点击上传，不超过1M）</th>
                    <td>
                        <div><input type="file" name="Pic_C_FemaleLaborContract_IN_File" id="Pic_C_FemaleLaborContract_IN_File" /></div>
                        <div><input type="button" id="upC_FemaleLaborContract_INPic" style="height:22.8px; font-size:10px;" value="上传" onclick="uploadPic('C_FemaleLaborContract_IN')" /></div>
                        <div><input type="hidden" name="Pic_C_FemaleLaborContract_IN" id="Pic_C_FemaleLaborContract_IN" value="" /></div>
                        <div id="C_FemaleLaborContract_INPic"></div>
                    </td>
                </tr>
            </table>
        </div>
        <div id="div_B_2" style="display:block">
            <ul class="pop-list">
                <li class="line">
                </li>
            </ul>
            <h5 style="padding-left:150px"><span class="houseSpan">B_2 租房类填写（外地户口）</span></h5>
            <table class="form myTable">
                <tr>
                    <th class="formTitle titileWidth">B_2_现居住地址</th>
                    <td class="formValue">
                        <input id="C_RentAddress1" name="C_RentAddress1" type="text" class="form-control myWidth" placeholder="请输入现居住地址" />
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">B_2_父亲居住证照片(jpg格式)<br>（选择照片后要点击上传，不超过1M）</th>
                    <td>
                        <div><input type="file" name="Pic_C_ResidencePermit_File" id="Pic_C_ResidencePermit_File" /></div>
                        <div><input type="button" id="upC_ResidencePermitPic" style="height:22.8px; font-size:10px;" value="上传" onclick="uploadPic('C_ResidencePermit')" /></div>
                        <div><input type="hidden" name="Pic_C_ResidencePermit" id="Pic_C_ResidencePermit" value="" /></div>
                        <div id="C_ResidencePermitPic"></div>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">B_2_母亲居住证照片(jpg格式)<br>（选择照片后要点击上传，不超过1M）</th>
                    <td>
                        <div><input type="file" name="Pic_C_FemaleResidencePermit_File" id="Pic_C_FemaleResidencePermit_File" /></div>
                        <div><input type="button" id="upC_FemaleResidencePermitPic" style="height:22.8px; font-size:10px;" value="上传" onclick="uploadPic('C_FemaleResidencePermit')" /></div>
                        <div><input type="hidden" name="Pic_C_FemaleResidencePermit" id="Pic_C_FemaleResidencePermit" value="" /></div>
                        <div id="C_FemaleResidencePermitPic"></div>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle"></th>
                    <td class="formValue">
                        <textarea class="form-control myWidth" style="color:#FF0000;height:65px" disabled>请上传父母双方务工合同或一方营业执照或养老保险，三者任选其一。如果在B_2_父亲务工合同照片处上传的是父亲务工合同照片的话，也要在B_2_母亲务工合同照片处上传母亲务工合同照片</textarea>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">B_2_父亲务工合同照片(jpg格式)<br>或一方营业执照或养老保险<br>（选择照片后要点击上传，不超过1M）</th>
                    <td>
                        <div><input type="file" name="Pic_C_MaleLaborContract_OUT_File" id="Pic_C_MaleLaborContract_OUT_File" /></div>
                        <div><input type="button" id="upC_MaleLaborContract_OUTPic" style="height:22.8px; font-size:10px;" value="上传" onclick="uploadPic('C_MaleLaborContract_OUT')" /></div>
                        <div><input type="hidden" name="Pic_C_MaleLaborContract_OUT" id="Pic_C_MaleLaborContract_OUT" value="" /></div>
                        <div id="C_MaleLaborContract_OUTPic"></div>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">B_2_母亲务工合同照片(jpg格式)<br>（选择照片后要点击上传，不超过1M）</th>
                    <td>
                        <div><input type="file" name="Pic_C_FemaleLaborContract_OUT_File" id="Pic_C_FemaleLaborContract_OUT_File" /></div>
                        <div><input type="button" id="upC_FemaleLaborContract_OUTPic" style="height:22.8px; font-size:10px;" value="上传" onclick="uploadPic('C_FemaleLaborContract_OUT')" /></div>
                        <div><input type="hidden" name="Pic_C_FemaleLaborContract_OUT" id="Pic_C_FemaleLaborContract_OUT" value="" /></div>
                        <div id="C_FemaleLaborContract_OUTPic"></div>
                    </td>
                </tr>
            </table>
        </div>
        <div id="schoolClassInfo" style="display:none">
            <ul class="pop-list">
                <li class="line">
                </li>
            </ul>
            <table class="form myTable">
                <tr>
                    <th class="formTitle titileWidth">住房所属大类</th>
                    <td class="formValue">
                        <input id="HouseClass" name="HouseClass" type="text" class="form-control myWidth" value="" />
                    </td>
                </tr>
                <tr>
                    <th class="formTitle titileWidth">学生原所在学校全称</th>
                    <td class="formValue">
                        <input id="OriginalSchool" name="OriginalSchool" type="text" class="form-control myWidth" />
                    </td>
                </tr>
                <tr>
                    <th class="formTitle titileWidth">年级</th>
                    <td class="formValue">
                        <select id="Class" name="Class" style="height:20px" class="form-control required" onchange="getSchool()"></select>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">选择第一志愿学校</th>
                    <td class="formValue">
                        <select id="SchoolId" name="SchoolId" style="height:20px" class="form-control required"></select>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">选择第二志愿学校</th>
                    <td class="formValue">
                        <select id="SecondSchoolId" name="SecondSchoolId" style="height:20px" class="form-control"></select>
                    </td>
                </tr>
            </table>
        </div>
        <div id="other">
            <ul class="pop-list">
                <li class="line">
                </li>
            </ul>
            <table class="form myTable">
                <tr>
                    <th class="formTitle titileWidth">其他说明</th>
                    <td class="formValue">
                        <input id="Remark" name="Remark" type="text" class="form-control myWidth" />
                    </td>
                </tr>
                <tr>
                    <th class="formTitle"></th>
                    <td class="formValue">
                        <input id="pwdKey" name="pwdKey" type="text" class="form-control myWidth" placeholder="不需填写" />
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">审核结果</th>
                    <td class="formValue">
                        <select id="OStatus" name="OStatus" style="height:20px" class="form-control myWidthrequired"></select>
                    </td>
                </tr>
                <tr>
                    <th class="formTitle titileWidth">初审不通过原因</th>
                    <td class="formValue">
                        <textarea id="FirstCheckReason" class="form-control myWidth" style="height: 60px;"></textarea>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</div>
<div class="layui-layer-btn" style="margin-top:30px">
    <a class="layui-layer-btn0 btn btn-primary" style="margin-left:10px" onclick="btn_update()">提交</a>
    <a class="layui-layer-btn1 btn btn-danger" style="margin-left:20px" onclick="btn_back()">返回</a>
</div>
<div id="outerdiv" style="position:fixed;top:0;left:200px;background:rgba(0,0,0,0.7);z-index:2000;display:none;">
    <div id="innerdiv" style="position:absolute;width: 200%;height:200%;">
        <img id="bigimg" style="border:5px solid #fff;width: 800px;height:600px;" src="" />
    </div>
</div>